
package com.xtsoft.platform.base.system.service;


import com.xtsoft.core.service.GenericService;
import com.xtsoft.platform.base.system.domain.SysRegion;
import com.xtsoft.platform.base.system.repository.SysRegionRepository;

import java.util.List;

public interface SysRegionService extends GenericService<SysRegion,String, SysRegionRepository> {

	/**
	 * 构建机构树
	 * @param currentuserId
	 * @return
	 */
	public String  getRegionTree(String currentuserId);
	
	
	public SysRegion findByRegionId(String regionId);
	/**
	 * 根据父ID查询
	 * @param string
	 * @return
	 */
	public List<SysRegion> findByPreRegionId(String string);
	
}



